package com.hit.demo1.entity;

/**
 * Kcrentity.java: purpose of its file
 *
 * @project: demo1
 * @date: 2024/7/15
 * @author: 30772
 * @version: 1.0.0
 */
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;


@Entity
@Table(name = "sclass")

public class Kcrentity {

    @Id
    @Column(name = "sid")
    public int sid;

    @Column(name = "sclass")
    public String sclass;

    @Column(name = "sgrade")
    public double sgrade;

    public void setSid(int sid){
        this.sid = sid;
    }

    public double getSgrade() {
        return sgrade;
    }

    public int getSid() {
        return sid;
    }

    public String getSclass() {
        return sclass;
    }

}
